
package ch.ifage.ws.soap;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for step complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="step">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="father" type="{http://soap.ws.ifage.ch/}step" minOccurs="0"/>
 *         &lt;element name="identity" type="{http://soap.ws.ifage.ch/}stepIdentity" minOccurs="0"/>
 *         &lt;element name="listOfChild" type="{http://soap.ws.ifage.ch/}step" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="properties" type="{http://soap.ws.ifage.ch/}stepProperties" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "step", propOrder = {
    "father",
    "identity",
    "listOfChild",
    "properties"
})
public class Step {

    protected Step father;
    protected StepIdentity identity;
    @XmlElement(nillable = true)
    protected List<Step> listOfChild;
    protected StepProperties properties;

    /**
     * Gets the value of the father property.
     * 
     * @return
     *     possible object is
     *     {@link Step }
     *     
     */
    public Step getFather() {
        return father;
    }

    /**
     * Sets the value of the father property.
     * 
     * @param value
     *     allowed object is
     *     {@link Step }
     *     
     */
    public void setFather(Step value) {
        this.father = value;
    }

    /**
     * Gets the value of the identity property.
     * 
     * @return
     *     possible object is
     *     {@link StepIdentity }
     *     
     */
    public StepIdentity getIdentity() {
        return identity;
    }

    /**
     * Sets the value of the identity property.
     * 
     * @param value
     *     allowed object is
     *     {@link StepIdentity }
     *     
     */
    public void setIdentity(StepIdentity value) {
        this.identity = value;
    }

    /**
     * Gets the value of the listOfChild property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the listOfChild property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getListOfChild().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Step }
     * 
     * 
     */
    public List<Step> getListOfChild() {
        if (listOfChild == null) {
            listOfChild = new ArrayList<Step>();
        }
        return this.listOfChild;
    }

    /**
     * Gets the value of the properties property.
     * 
     * @return
     *     possible object is
     *     {@link StepProperties }
     *     
     */
    public StepProperties getProperties() {
        return properties;
    }

    /**
     * Sets the value of the properties property.
     * 
     * @param value
     *     allowed object is
     *     {@link StepProperties }
     *     
     */
    public void setProperties(StepProperties value) {
        this.properties = value;
    }

}
